Change the output of the facebook like button [migrated]

Posted by Mechaflash on Pro Webmasters See other posts from Pro Webmasters or by Mechaflash
Published on 2012-04-10T19:00:48Z Indexed on 2012/04/10 23:45 UTC
Read the original article Hit count: 204

Filed under:
|

I've tied in the code for the facebook like button from the facebook dev site (I currently use the iframe version) directly into the html of a node (or content post). I want to be able to manipulate what text is sent when someone hits the like button.

you can see the site and buttons here www.masteringmoneybasics.org

I've tried both the iframe and html5 versions of the button and can't see where to alter what is sent.

If there is no way to directly alter what is sent, does anyone know what it looks for in content to be sent so I can structure the node correctly? If you notice, when you like the page, it doesn't get the first sentence of the content, but all content after it, and I've tried putting different content in between the two lines (in its own <p>) and it still grabs the latter. Also how it figures out which image to grab from the page? Most times it doesn't take any image, however twice it's grabbed the middle school image.

© Pro Webmasters or respective owner

Related posts about facebook

Related posts about drupal-6